package com.weike.yuanding.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName: UserMessageVi
 * @Author: YuanDing
 * @Date: 2025/4/13 15:15
 * @Description:
 */

@Data
public class UserMessageResVo {

    private String sessionId;

    private String userId;

    private String avatar;

    // 0 -  1 - 普通消息  3 -
    private String type;

    private String url;

    private String name;

    private String role = "user";

    private String content;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date datetime;

}
